WifiConfig

class WifiConfig(val wifi: WifiInfo? = null, val passphrase: ByteString? = null, val volatileMemory: Boolean? = null, val anyChannel: Boolean? = null, unknownFields: ByteString = ByteString.EMPTY) : Message<WifiConfig, Nothing>

Requests Wi-Fi provisioning configuration for SET_CONFIG request.

Constructors

Link copied to clipboard
constructor(wifi: WifiInfo? = null, passphrase: ByteString? = null, volatileMemory: Boolean? = null, anyChannel: Boolean? = null, unknownFields: ByteString = ByteString.EMPTY)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val adapter: ProtoAdapter<WifiConfig>
Link copied to clipboard
val anyChannel: Boolean? = null

When this flag is set to true, the WifiInfo parameters other than SSID should be ignored.

Link copied to clipboard
val passphrase: ByteString? = null

Default: empty string

Link copied to clipboard
open val unknownFields: ByteString
Link copied to clipboard
val volatileMemory: Boolean? = null

Should the Wi-Fi config be kept only in RAM and be removed after device reboot. Default: false

Link copied to clipboard
val wifi: WifiInfo? = null

Functions

Link copied to clipboard
fun copy(wifi: WifiInfo? = this.wifi, passphrase: ByteString? = this.passphrase, volatileMemory: Boolean? = this.volatileMemory, anyChannel: Boolean? = this.anyChannel, unknownFields: ByteString = this.unknownFields): WifiConfig
Link copied to clipboard
fun encode(stream: OutputStream)
fun encode(sink: BufferedSink)
Link copied to clipboard
fun encodeByteString(): ByteString
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard